//============================================================================
// Name        : SystemAble.cpp
// Author      : zts
// Version     :
// Copyright   : by Ares
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
#include "Server.h"

using namespace std;

int main()
{
	Server server;

	server.init();

	{
		Packet packet;

		packet._id = 10001;
		packet._pid = 1;

		server.handle(packet);
	}

	{
		Packet packet;

		packet._id = 10002;
		packet._pid = 1;

		server.handle(packet);
	}

	server.uninit();

	cout << "Have Fun" << endl; // prints Have Fun

	return 0;
}
